package com.vf.admin.common.db.annotation;

public class testaa {
	public static void main(String[] args) {
		if(Menu.class.isAnnotationPresent(Table.class)){
			//该class存在Table类型的注解，获取指定的表名
			
			Table table = (Table) Menu.class.getAnnotation(Table.class);
			String tableName = table.name();
			//System.out.println(tableName);
			//System.out.println(Menu.class.isAnnotationPresent(Table.class));
		}
	}
}
